// -----------------------------------------------------------------------
//  <once-generated>
//     这个文件只生成一次，再次生成不会被覆盖。
//  </once-generated>
//
//  <copyright file="l-m-s.routing.ts" company="astrom">
//      
//  </copyright>
//  <site></site>
//  <last-editor>Bruce.Yu</last-editor>
// -----------------------------------------------------------------------

import { NgModule } from '@angular/core';
import { Routes, RouterModule } from '@angular/router';
import { ACLGuard } from '@delon/acl';
import { CourseComponent } from './course/course.component';
import { OrganizationComponent } from './organization/organization.component';

const routes: Routes = [
{ path: 'course', component: CourseComponent, canActivate: [ACLGuard], data: { title: '课程管理', reuse: true, guard: 'Root.Admin.LMS.Course.Read' } },
{ path: 'org', component: OrganizationComponent, canActivate: [ACLGuard], data: { title: '组织结构', reuse: true, guard: 'Root.Admin.LMS.Organization.Read' } },
];

@NgModule({
  imports: [RouterModule.forChild(routes)],
  exports: [RouterModule]
})
export class LMSRoutingModule { }
